package gov.pbc.nn.kjgl.jfcr.imageRender;

import gov.pbc.nn.kjgl.jfcr.dao.ApplyEntryDao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.bstek.ureport.mapping.CellMapping;

@Component
public class UserCallMapping implements CellMapping {
	@Autowired
	private ApplyEntryDao applyEntryDao;

	@Override
	public Object mapping(Object value) {
		String name = this.applyEntryDao.getCnameByMamberId(value.toString());
		return name;
	}
}
